package com.sy.entity;

import java.math.BigDecimal;

public class PriceRegion {
    private Integer id;
    private BigDecimal startPrice;
    private BigDecimal endPrice;

    public PriceRegion() {
    }

    public PriceRegion(Integer id, BigDecimal startPrice, BigDecimal endPrice) {
        this.id = id;
        this.startPrice = startPrice;
        this.endPrice = endPrice;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getStartPrice() {
        return startPrice;
    }

    public void setStartPrice(BigDecimal startPrice) {
        this.startPrice = startPrice;
    }

    public BigDecimal getEndPrice() {
        return endPrice;
    }

    public void setEndPrice(BigDecimal endPrice) {
        this.endPrice = endPrice;
    }

    @Override
    public String toString() {
        return "PriceRegion{" +
                "id=" + id +
                ", startPrice=" + startPrice +
                ", endPrice=" + endPrice +
                '}';
    }
}
